package ica_alink

//https://help.aliyun.com/zh/iot/user-guide/manage-topological-relationships?spm=a2c4g.11186623.0.0.46996c1eCyd2xR

// TopoAddAsk 拓扑添加
type TopoAddAsk struct {
	BaseAsk
	Params []TopoAddItem `json:"params"`
}

type TopoAddItem struct {
	DeviceName string `json:"deviceName"`
	ProductKey string `json:"productKey"`
	Sign       string `json:"sign"`
	SignMethod string `json:"signmethod"`
	Timestamp  string `json:"timestamp"`
	ClientId   string `json:"clientId"`
}

// TopoAddReply 拓扑添加响应
type TopoAddReply struct {
	BaseReply
	Data []TopoAddReplyItem `json:"data"`
}

type TopoAddReplyItem struct {
	DeviceName string `json:"deviceName"`
	ProductKey string `json:"productKey"`
}
